package com.mall.model.entity.Mms;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

 /**
 * 营销活动表
 * @author : cck
 * @date : 2025-10-10
 */
 
@Schema(name = "营销活动表",description = "")
@TableName("mms_campaign")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MmsCampaign implements Serializable{
    private static final long serialVersionUID = 1L;
    /** 主键id */
    @Schema(name = "主键id",description = "")
    @TableId
    private String id;
    /** 活动名称 */
    @Schema(name = "活动名称",description = "")
    private String name;
    /** 开始时间 */
    @Schema(name = "开始时间",description = "")
    private Date startTime;
    /** 结束时间 */
    @Schema(name = "结束时间",description = "")
    private Date endTime;
    /** 活动类型;1: 满减 2: 折扣 3: 秒杀 */
    @Schema(name = "活动类型",description = "1: 满减 2: 折扣 3: 秒杀")
    private Integer type;
    /** 活动规则 */
    @Schema(name = "活动规则",description = "")
    private String ruleName;
    /** 活动状态;0: 未开始 1: 进行中 3: 已结束 */
    @Schema(name = "活动状态",description = "0: 未开始 1: 进行中 3: 已结束")
    private Integer status;
}